package ${basePackageName}.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.sinosoftframework.core.domain.IdEntity;

@Entity
@Table(name = "${tableEName}")
public class ${className}  extends IdEntity{
	
	private static final long serialVersionUID = 1L;
	
	<#-- 属性 -->
	<#list dbFields as field>
	private ${field.type} ${field.name};
	
	</#list>
	<#-- 方法 -->
	<#list dbFields as field>
	public ${field.type} get${field.name?cap_first}() {
		return ${field.name};
	}
	
	public void set${field.name?cap_first}(${field.type} ${field.name}) {
		this.${field.name} = ${field.name};
	}
	</#list>
}